package org.dromara.comm.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.dromara.comm.domain.AsUser;
import org.dromara.system.domain.SysUser;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface AsUserMapper extends BaseMapper<AsUser> {

    @Select("select * from sys_user where user_name = #{userName}")
    SysUser loadUserByUsername (SysUser sysUser);

}
